package com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.response;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;

/**
 * Created by xuyn15828 on 2016/5/11.
 */
public class GetAccessTokenBackVo  extends HSBCPSBackVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    protected String access_token;
    protected Long expires_in;
    protected String refresh_token;
    protected String openid;
    protected String scope;

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public GetAccessTokenBackVo putAccess_token(String access_token) {
        this.access_token = access_token;
        return this;
    }

    public Long getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(Long expires_in) {
        this.expires_in = expires_in;
    }

    public GetAccessTokenBackVo putExpires_in(Long expires_in) {
        this.expires_in = expires_in;
        return this;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public GetAccessTokenBackVo putOpenid(String openid) {
        this.openid = openid;
        return this;
    }

    public String getRefresh_token() {
        return refresh_token;
    }

    public GetAccessTokenBackVo putRefresh_token(String refresh_token) {
        this.refresh_token = refresh_token;
        return this;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public GetAccessTokenBackVo putScope(String scope) {
        this.scope = scope;
        return this;
    }

    @Override
    public String toString() {
        return "GetAccessTokenBackVo{" +
                "access_token='" + access_token + '\'' +
                ", expires_in=" + expires_in +
                ", refresh_token='" + refresh_token + '\'' +
                ", openid='" + openid + '\'' +
                ", scope='" + scope + '\'' +
                '}';
    }
}
